package com.ndp.fb.rdb.model;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by jacky.cheng on 2016/5/31.
 */
@Getter
@Setter
@NoArgsConstructor
public class EcElementCategory implements Serializable {
    Long id;
    Long pid;
    String code;
    String name;
    String usName;
    String type;
    String subtype;
    Integer property; //0:固定，1：动态，2:半固定
    String context;
    Integer showType;  //0:图片，1:文字，2:图+文

    List<EcElementCategory> children=new ArrayList<>();
    public EcElementCategory(Long id) {
        this.id=id;
    }
}
